package com.zzzy.doc.vo.template.file;

import com.zzzy.doc.dao.entity.DocFileTemplate;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class DocFileTemplatePageRes {

    @Schema(description = "模板信息")
    private DocFileTemplate data;
    @Schema(description = "按钮权限")
    private Button button;

    @Data
    public static class Button {
        @Schema(description = "修改权限")
        private boolean update;
        @Schema(description = "删除权限")
        private boolean delete;
        @Schema(description = "启用权限")
        private boolean enable;
        @Schema(description = "停用权限")
        private boolean disable;
    }
}
